package com.lxmes.business.mapper;

import java.util.List;
import com.lxmes.business.domain.NcMaterialInspectionRules;

/**
 * 物料质检规则Mapper接口
 * 
 * @author lx
 * @date 2023-06-01
 */
public interface NcMaterialInspectionRulesMapper 
{
    /**
     * 查询物料质检规则
     * 
     * @param id 物料质检规则主键
     * @return 物料质检规则
     */
    public NcMaterialInspectionRules selectNcMaterialInspectionRulesById(Long id);

    /**
     * 查询物料质检规则列表
     * 
     * @param ncMaterialInspectionRules 物料质检规则
     * @return 物料质检规则集合
     */
    public List<NcMaterialInspectionRules> selectNcMaterialInspectionRulesList(NcMaterialInspectionRules ncMaterialInspectionRules);

    /**
     * 新增物料质检规则
     * 
     * @param ncMaterialInspectionRules 物料质检规则
     * @return 结果
     */
    public int insertNcMaterialInspectionRules(NcMaterialInspectionRules ncMaterialInspectionRules);

    /**
     * 修改物料质检规则
     * 
     * @param ncMaterialInspectionRules 物料质检规则
     * @return 结果
     */
    public int updateNcMaterialInspectionRules(NcMaterialInspectionRules ncMaterialInspectionRules);

    /**
     * 删除物料质检规则
     * 
     * @param id 物料质检规则主键
     * @return 结果
     */
    public int deleteNcMaterialInspectionRulesById(Long id);

    /**
     * 批量删除物料质检规则
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteNcMaterialInspectionRulesByIds(Long[] ids);
}
